package com.teamone.monopoly.domain;

public class GoToJailSquare extends Square {

	public static final String NAME = "GoToJailSquare";

	GoToJailSquare() {
		name = NAME;
	}
	
	@Override
	public void onLand(Player player) {
		player.setPosition(Board.JAILSQUARE);
	}

}
